home *** CD-ROM | disk | FTP | other *** search
- stop();
- pause_btn.onPress = function()
- {
- if(gameOver || quitGame_mc._visible)
- {
- return undefined;
- }
- sound_mc.gotoAndPlay("popMed");
- b_mc._visible = !(paused_mc._visible = paused = !paused);
- if(paused)
- {
- stopFall();
- }
- else
- {
- startFall();
- }
- };
- quit_btn.onPress = function()
- {
- if(gameOver)
- {
- return undefined;
- }
- sound_mc.gotoAndPlay("popMed");
- stopFall();
- b_mc._visible = paused_mc._visible = false;
- quitGame_mc._visible = paused = true;
- };
- drawNextShape();
- thisShape = nextShape;
- drawThisShape();
- drawNextShape();
- gameOver = false;
- startFall();
-